package com.isunland.managesystem.entity;

import com.isunland.managesystem.entity.WorkprocessFinish.FinishDtail;
import java.io.Serializable;

public class TaskCollect implements Serializable {
  private String id;
  private String rateCurrent;
  private String planContentDesc;
  private String planStagecompleteTime;
  private String resultDescEvalu;// 评价内容
  private String planKindType;// 计划性质
  private String planEsteTime;// 要求完成时间
  // private String planStagecompleteTime;// 最新阶段完成时间
  private String taskManName;// 委派人
  private String planStatus;
  private String regDate;// 登记日期
  private String workTime;// 总工时
  private String excManName;// 执行人
  private String coopManNames;// 配合人
  private String planAppdeptName;// 申报者
  private String excManId;
  private String planExcDesc;// 完成情况描述
  // private String id;
  // private String planContentDesc;// 计划任务内容
  private String regStaffName;// 登记人

  public String getResultDescEvalu() {
    return this.resultDescEvalu;
  }

  public void setResultDescEvalu(String resultDescEvalu) {
    this.resultDescEvalu = resultDescEvalu;
  }

  public String getPlanKindType() {
    return this.planKindType;
  }

  public void setPlanKindType(String planKindType) {
    this.planKindType = planKindType;
  }

  public String getPlanEsteTime() {
    return this.planEsteTime;
  }

  public void setPlanEsteTime(String planEsteTime) {
    this.planEsteTime = planEsteTime;
  }

  public String getTaskManName() {
    return this.taskManName;
  }

  public void setTaskManName(String taskManName) {
    this.taskManName = taskManName;
  }

  public String getPlanStatus() {
    return this.planStatus;
  }

  public void setPlanStatus(String planStatus) {
    this.planStatus = planStatus;
  }

  public String getRegDate() {
    return this.regDate;
  }

  public void setRegDate(String regDate) {
    this.regDate = regDate;
  }

  public String getWorkTime() {
    return this.workTime;
  }

  public void setWorkTime(String workTime) {
    this.workTime = workTime;
  }

  public String getExcManName() {
    return this.excManName;
  }

  public void setExcManName(String excManName) {
    this.excManName = excManName;
  }

  public String getCoopManNames() {
    return this.coopManNames;
  }

  public void setCoopManNames(String coopManNames) {
    this.coopManNames = coopManNames;
  }

  public String getPlanAppdeptName() {
    return this.planAppdeptName;
  }

  public void setPlanAppdeptName(String planAppdeptName) {
    this.planAppdeptName = planAppdeptName;
  }

  public String getExcManId() {
    return this.excManId;
  }

  public void setExcManId(String excManId) {
    this.excManId = excManId;
  }

  public String getPlanExcDesc() {
    return this.planExcDesc;
  }

  public void setPlanExcDesc(String planExcDesc) {
    this.planExcDesc = planExcDesc;
  }

  public String getRegStaffName() {
    return this.regStaffName;
  }

  public void setRegStaffName(String regStaffName) {
    this.regStaffName = regStaffName;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getRateCurrent() {
    return rateCurrent;
  }

  public void setRateCurrent(String rateCurrent) {
    this.rateCurrent = rateCurrent;
  }

  public String getPlanContentDesc() {
    return planContentDesc;
  }

  public void setPlanContentDesc(String planContentDesc) {
    this.planContentDesc = planContentDesc;
  }

  public String getPlanStagecompleteTime() {
    return planStagecompleteTime;
  }

  public void setPlanStagecompleteTime(String planStagecompleteTime) {
    this.planStagecompleteTime = planStagecompleteTime;
  }

  /**
   * 转化为taskcollect对象.
   */
  public FinishDtail turn() {
    //String planStagecompleteTimeStr=DateFormat.format(
    //		DateUtil.TYPE_ALL, planStagecompleteTime).toString();
    //planEsteTime=planEsteTime+" 00:00:00";
    //regDate=regDate+" 00:00:00";
    //FinishDtail detail = new WorkprocessFinish().new FinishDtail(
    //		resultDescEvalu, planKindType, planEsteTime,
    //		planStagecompleteTimeStr, taskManName, planStatus, regDate,
    //		workTime, excManName, coopManNames, planAppdeptName, excManId,
    //		planExcDesc, id, planContentDesc, regStaffName);

    planEsteTime = planEsteTime + " 00:00:00";
    regDate = regDate + " 00:00:00";
    FinishDtail detail =
        new WorkprocessFinish().new FinishDtail(resultDescEvalu, planKindType, planEsteTime,
            planStagecompleteTime, taskManName, planStatus, regDate, workTime, excManName,
            coopManNames, planAppdeptName, excManId, planExcDesc, id, planContentDesc,
            regStaffName);
    return detail;
  }
}
